import {
	reqjson
} from "@/api/api";


/**
 * 商户列表
 */
export function merchantList(data) {
	return reqjson("/merchant/list", data, "GET");
}
/**
 * 商户列表
 */
export function topSeller(data) {
	return reqjson("/top/seller", data, "GET");
}

/**
 * 商户详情
 */
export function getsellerinfobyid(data) {
	return reqjson("/seller/getsellerinfobyid", data, "POST");
}

/**
 * 商户入驻提交接口
 */
export function merchantEntry(data) {
	return reqjson("/user/merchant/entry", data, "POST");
}

/**
 * 商户经营品类
 */
export function getsellerclass(data) {
	return reqjson("/seller/getsellerclass", data, "GET");
}

/**
 * 获取门店筛选配置
 */
export function sellerFilterconfig(data) {
	return reqjson("/seller/filterconfig", data, "POST");
}
/**
 * 各贝壳数量
 */
export function getsellershellcount() {
	return reqjson("/seller/getsellershellcount", "GET");
}
/**
 * 修改商户银行卡
 */
export function changeBank(data) {
	return reqjson("/seller/changeBank", data, "POST");
}
/**
 * 获取商户信息
 */
export function sellerIndex() {
	return reqjson("/seller/index", "GET");
}
/**
 * 获取账单分类
 */
export function sellerBillCategory(data) {
	return reqjson("/seller/bill/category", data, "GET");
}
/**
 * 总账单列表--商户钱包账单
 */
export function getsellerbillList(data) {
	return reqjson("/seller/bill", data, "GET");
}
/**
 * 获取商户各下级销售总业绩--我的推广
 */
export function getSellerCommission(data) {
	return reqjson("/seller/getsellerteamcommission", data, "GET");
}
/**
 * 获取商户线上订单别克收益列表
 */
export function getselleronlinecommission(data) {
	return reqjson("/seller/getselleronlinecommission", data, "GET");
}
/**
 * 修改商户信息
 */
export function changeinfo(data) {
	return reqjson("/seller/changeinfo", data, "POST");
}
/**
 * 贝壳提现
 */
export function applyshellwithdraw(data) {
	return reqjson("/seller/applyshellwithdraw", data, "POST");
}
/**
 * 获取商户付款小程序码
 */
export function getpayqrcode() {
	return reqjson("/seller/getpayqrcode", "GET");
}
/**
 * 余额提现
 */
export function sellerApply(data) {
	return reqjson("/seller/apply", data, "POST");
}
/**
 * 获取账户营业收入列表
 */
export function authentication(data) {
	return reqjson("/seller/authentication", data, "POST");
}
/**
 * 
 */
export function selleraccountlog(data) {
	return reqjson("/seller/selleraccountlog", data, "POST");
}
/**
 * 获取各贝壳账单
 */
export function getshelllog(data) {
	return reqjson("/seller/getshelllog", data, "POST");
}
/**
 * 验证商户是否入驻和审核进度
 */
export function seller_check() {
	return reqjson("/seller/seller_check", "GET");
}
/**
 * 商户设置签约比例接口
 */
export function ratioModify(data) {
	return reqjson("/seller/ratio/modify", data, "POST");
}
/**
 * 商户授信额
 */
export function storeCredit(data) {
	return reqjson("/seller/credit", data, "GET");
}
/**
 * 检查是否有未审核的签约比例
 */
export function sellerCheckmodify() {
	return reqjson("/seller/checkmodify", "GET");
}
/**
 * 检查商户修改信息/开通店铺/修改银行卡审核状态
 */
export function checkeditstatus(data) {
	return reqjson("/seller/checkeditstatus", data, "POST");
}
/**
 * 商户贝壳转到用户贝壳
 */
export function shellTransferUser(data) {
	return reqjson("/seller/shell_transfer_user", data, "POST");
}
/**
 * 渠道商二维码派发商户接口
 */
export function channelBindSeller(data) {
	return reqjson("/channel/bind/seller", data, "GET");
}
/**
 * 商户推广信息
 */
export function sellerPromoterList(data) {
	return reqjson("/seller/promoter/list", data, "GET");
}
